package org.htmlparser.tags;

import org.htmlparser.util.NodeList;

public class SelectTag extends CompositeTag
{
  static Class class$org$htmlparser$tags$OptionTag;
  private static final String[] mEndTagEnders;
  private static final String[] mEnders;
  private static final String[] mIds;

  static
  {
    String[] arrayOfString1 = new String[1];
    arrayOfString1[0] = "SELECT";
    mIds = arrayOfString1;
    String[] arrayOfString2 = new String[3];
    arrayOfString2[0] = "INPUT";
    arrayOfString2[1] = "TEXTAREA";
    arrayOfString2[2] = "SELECT";
    mEnders = arrayOfString2;
    String[] arrayOfString3 = new String[3];
    arrayOfString3[0] = "FORM";
    arrayOfString3[1] = "BODY";
    arrayOfString3[2] = "HTML";
    mEndTagEnders = arrayOfString3;
  }

  static Class class$(String paramString)
  {
    Class localClass;
    try
    {
      localClass = Class.forName(paramString);
      return localClass;
    }
    catch (ClassNotFoundException localClassNotFoundException)
    {
      throw new NoClassDefFoundError().initCause(localClassNotFoundException);
    }
  }

  public String[] getEndTagEnders()
  {
    return mEndTagEnders;
  }

  public String[] getEnders()
  {
    return mEnders;
  }

  public String[] getIds()
  {
    return mIds;
  }

  public OptionTag[] getOptionTags()
  {
    Class localClass;
    if (class$org$htmlparser$tags$OptionTag == null)
    {
      localClass = class$("org.htmlparser.tags.OptionTag");
      class$org$htmlparser$tags$OptionTag = localClass;
    }
    while (true)
    {
      NodeList localNodeList = searchFor(localClass, true);
      OptionTag[] arrayOfOptionTag = new OptionTag[localNodeList.size()];
      localNodeList.copyToNodeArray(arrayOfOptionTag);
      return arrayOfOptionTag;
      localClass = class$org$htmlparser$tags$OptionTag;
    }
  }
}